package com.wtwd.device.model.dto;


import com.wtwd.device.model.entity.DeviceHeartRate;
import com.wtwd.device.model.entity.DeviceHeartRateTotal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

@ApiModel(value = "synchronizationHeartRateDto", description = "")
public class SynchronizationHeartRateDto implements Serializable {

    private static final long serialVersionUID = 1084234874564L;


    @ApiModelProperty(value = "deviceId", required = true)
    private Long deviceId;

    @ApiModelProperty(value = "设备心率统计数据", required = true)
    private List<DeviceHeartRateTotalDto> deviceHeartRateTotalDtos;

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public List<DeviceHeartRateTotalDto> getDeviceHeartRateTotalDtos() {
        return deviceHeartRateTotalDtos;
    }

    public void setDeviceHeartRateTotalDtos(List<DeviceHeartRateTotalDto> deviceHeartRateTotalDtos) {
        this.deviceHeartRateTotalDtos = deviceHeartRateTotalDtos;
    }

    @Override
    public String toString() {
        return "SynchronizationHeartRateDto{" +
                "deviceId=" + deviceId +
                ", deviceHeartRateTotalDtos=" + deviceHeartRateTotalDtos +
                '}';
    }
}
